#include <stdio.h>
#include "../../src/gtthread.h"

char g_str[] = "hello world\n";

void* worker(void* arg)
{
	for(;;);
}

int main()
{
	gtthread_t th1;
	void* ret;

	gtthread_init(1000);

	gtthread_create(&th1, worker, NULL);

	printf("main exit\n");

	gtthread_exit(NULL);
}
